﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CrossRoadNS.Model;
using System.Windows.Media;
using System.Windows.Data;

namespace CrossRoadNS.Services.Converters
{
    class CellDynamicStateToColorConv : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            SolidColorBrush result = new SolidColorBrush();

            //CellState stateValue = (CellState)value;
            //if (stateValue.Contains(CellState.occupied))
            //    result.Color = Colors.Orange;
            //else
            //    result.Color = Colors.Transparent;



            return result;
        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
